package org.flashbrighton.as3bots.models 
{
	/**
	 * Information about the bot passed
	 * from the Game controller.
	 */
	public class BotData
	{
		private var _health:Number;
		private var _angle:Number;
		
		public function BotData(health:Number, angle:Number) 
		{
			_health = health;
			_angle = angle;
		}
		
		/**
		 * Percentage of health remaining. Value is normalised
		 * (between 0 and 1).
		 */
		public function get health():Number { return _health; }
		/**
		 * angle of the bot (between -1 and 1).
		 * 0 is east, 0.5 south, -0.5 north and 1/-1 is west.
		 */
		public function get angle():Number { return _angle; }
		
	}

}